<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一题</title>
    <style>
        #aa{
            height: 100px;
            width: 100px;
            background-color: orangered;
        }
    </style>
</head>
<body>
    <div id="app">
        <button @click="dianji">点击</button>
        <div id="aa" v-if="dll>=10">您已点击10次！！！</div>
        
    </div>
</body>
<script src="./vue.js"></script>
<script>
    const{ createApp,ref}=Vue
    createApp({
        setup(){
            let dll =ref(0)
            function dianji(){
                dll.value++
            }
            return{
                dll,dianji
            }



        }
    }).mount('#app')

</script>
</html>